package com.flag.liutao.modules.auth.service;

import java.util.Map;

public interface AuthService  {
    Map<String, String> adminLogin(String userName, String password, String code);

    Map<String, String> login(String userName, String password, String code);

    String getCode();

    void setCode(String code, int minutes);

    void remoeCode();

    void logout(String value, Long id, String token);
}
